import axios from 'axios'
exports.getBooks = (id) => {
  return axios.get('/api/course/books/' + id + '/bookcatelogs')
}
exports.getSemester = () => {
  return axios.get('/api/system/schoolterms')
}
exports.getLessions = (data) => {
  return axios.get('/api/course/previewvideos', {
    params: data
  })
}
exports.getNotes = (data) => {
  return axios.get('/api/preview/studentnotes', {
    params: data
  })
}
exports.getCurrentTerm = () => {
  return axios.get('/api/system/schoolterms/current')
}
